home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
PBLIB1
/
PROGS
/
DUMP.DOC
< prev
next >
Wrap
Text File
|
1994-01-16
|
2KB
|
41 lines
DUMP - a simple HEX/ASCII file dumper - HNR Public Domain 2/91
syntax:
DUMP <filename> <options>');
options:
RECSIZE=m - group data in chunks of m bytes (def. 16)
HDRSIZE=m - define the first m bytes as a file header (def. 0)
COUNT=n - number of records to print (def. 32700)
FIRST=n - first record to print (def. 1)
LAST=n - last record to print (def. 32700)
HEADER=YES/NO - print the header (def. YES)
HEX=YES/NO - print address field in HEX/DECIMAL (def. YES)
DBF=YES/NO - tries to interpret file as an xBase DBF file -
DUMP figures out header & record sizes
This is the first part of DUMP.doc, Print it for more notes.
?SECTION more
Additional documentation/notes
1. These options can be set in an optional DUMP.CFG file
placed next to DUMP.EXE and/or in the current directory.
The local CFG file overrides the one next to the EXE file.
If the name DUMP is already used, it will work just the same if
it is renamed xxxx.exe with xxxx.cfg and xxxx.doc
Misc:
Trying to dump a data file while it was open by another program
got me a 162 error, with or without share.
Of course, using some of the options together makes no sense, like:
first=2 last=4 count=10. I try to make sense out of it, but
nothing guarenteed.